package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.app.bo.AppMerchantQueryBo;
import com.ruoyi.business.app.vo.AppMerchantVo;
import com.ruoyi.business.domain.HcxMerchant;
import com.ruoyi.business.vo.HcxDateCountVo;
import com.ruoyi.common.core.mybatisplus.core.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商家Mapper接口
 *
 * @author wsdz
 * @date 2022-08-17
 */
public interface HcxMerchantMapper extends BaseMapperPlus<HcxMerchant> {
    List<HcxDateCountVo> last7Days();

    Page<AppMerchantVo> selectPageMerchantList(@Param("page") Page<HcxMerchant> page, @Param("merchant") AppMerchantQueryBo appMerchantQueryBo);

    Page<AppMerchantVo> selectPageMerchantListNoDingwei(@Param("page") Page<HcxMerchant> page, @Param("merchant") AppMerchantQueryBo appMerchantQueryBo);
}
